import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/router/home.vue'
import hello from '@/router/hello.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      name:'zhuye',
      path:'/home',
      component:Home
    },
    {
      name:'nihao',
      path:'/hello',
      component:hello
    }
  ],
})

export default router
